<!-- This is the navigation bar -->
<div class="nav navbar-default" role="navigation">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <span class="navbar-brand" href="#">E(asy)Vote</span>
        </div>
        <!-- Nav Links -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <!-- Use class="active" to highlight current tab -->
                <li><a href="{{ path('elections_show') }}"><strong>Elections</strong></a></li>
                <li><a href="{{ path('profile_show', {'id': 'user'}) }}"><strong>My Profile</strong></a></li>
                <li><a href="{{ path('search_show') }}"><strong>Search</strong></a></li>
                {% if isAdmin is defined %}
                    {% if isAdmin %}
                        <li><a href="{{ path('admin_show') }}"><strong>Admin</strong></a></li>
                    {% endif %} 
                {% endif %}
            </ul>
            <ul class="nav navbar-nav navbar-right">
                {# Let sign out delete simplesamlphp cookies #}
                <li><a href="{{ path('logout') }}">Sign Out</a></li>
            </ul>
        </div>
    </div>
</div>